package com.chinasofti;

import java.util.Scanner;

public class lianxi2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个字符串");
        String s = sc.nextLine();
        char [] c = s.toCharArray();
        for (int i = 0; i <s.length() ; i++) {
            System.out.println(c[i]);
        }
    }
}
